package com.ebarlas.fractal.compile;

import java.util.List;

public interface Parser {
    void addFunction(String regex, StackCommand function);
    void addVariable(String regex, Variable var);
    List<Token> scan(String expr) throws ScanException;
    List<StackCommand> parse(List<Token> tokens) throws ParseException;    
}
